package com.banmoon.algorithm.leetcode;

public class Question521 {

    public static void main(String[] args) {
        System.out.println(findLUSlength("aaaa", "aaa"));
    }

    public static int findLUSlength(String a, String b) {
        if(a.equals(b))
            return -1;
        return a.length()>b.length()? a.length(): b.length();
    }

}
